home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_300
/
334_02
/
mscbug.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-02-04
|
292 b
|
13 lines
#include <stdio.h>
main()
{
double x;
printf("look at the fourth, fifth and sixth columns\n");
printf("%%e\t\t %%f\t\t %%g\t %%.g\t %%.1g\t %%.2g\t %%.3g\n\n");
for ( x = 1e-6; x < 1e+4; x *= 10.0 )
printf("%e\t %f\t %g\t %.g\t %.1g\t %.2g\t %.3g\n",
x,x,x,x,x,x,x);
}